package cn.itsource.pethome.mapper;

import cn.itsource.pethome.domain.Product;
import cn.itsource.pethome.domain.ProductDetail;
import cn.itsource.pethome.query.ProductQuery;
import org.springframework.stereotype.Component;

@Component
public interface ProductMapper extends BaseMapper<Product, ProductQuery> {

    /**
     * 添加商品详情信息
     * @param productDetail
     */
    void saveProductDetail(ProductDetail productDetail);

    /**
     * 修改商品详情信息
     * @param productDetail
     */
    void updateProductDetail(ProductDetail productDetail);

}
